package com.jiangcheng.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2021-09-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("点赞")
@AllArgsConstructor
public class Liked implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "like_id", type = IdType.AUTO)
    @ApiModelProperty("点赞ID")
    private Integer likeId;

    @ApiModelProperty("用户ID")
    private Integer uId;

    @ApiModelProperty("点赞对象ID")
    private Integer objId;

    /**
     * 1 评论 2 文章 3 回复 4 树洞
     */
    @ApiModelProperty("点赞类型 (1 评论 2 文章 3 回复 4 树洞 )")
    private Integer likeType;


}
